package com.example.trafficsystem.repository;

import com.example.trafficsystem.entity.Exam;
import com.example.trafficsystem.entity.ExamQuestion;
import com.example.trafficsystem.entity.UserTb;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ExamRe extends JpaRepository<Exam,Long>, JpaSpecificationExecutor<Exam> {

    Exam findByTrainingPlanId(Long trainingPlanId);

}
